package com.aspose.cells;

class zcaa extends zcdb {
   private Workbook a;
   private zazq b;

   zcaa(zazq var1, Workbook var2) {
      this.d = 419;
      this.a = var2;
      this.b = var1;
      this.a();
   }

   private void a() {
      int var1 = 27;
      if (this.b.f != null && this.b.f.size() > 0) {
         var1 += 16 * this.b.f.size();
      }

      this.c = new byte[var1];
      zbaa var2 = new zbaa(this.b);
      int var3 = var2.a(this.c);
      int var4 = 0;
      if (this.b.h) {
         var4 |= 1;
         if (this.b.b != null) {
            var4 |= 2;
         }
      }

      if (this.b.d) {
         var4 |= 4;
      }

      this.c[var3] = (byte)var4;
      ++var3;
      System.arraycopy(com.aspose.cells.b.a.zc.a(this.b.g), 0, this.c, var3, 4);
      var3 += 4;
      System.arraycopy(com.aspose.cells.b.a.zc.a(this.b.c), 0, this.c, var3, 4);
      var3 += 4;
      zcdf.a(this.b.f, this.c, var3);
   }
}
